package com.liujun.spring4.demo.aop.ioc.base.reflect;

/**
 * 进行cloassloader对象的查看
 *
 * @author liujun
 * @version 1.0
 * @date 2018-08-09 07:30:00
 */
public class ClassLoaderTest {

  public static void main(String[] args) {
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    System.out.println("curr loader:" + loader);
    System.out.println("parent loader:" + loader.getParent());
    System.out.println("grandparent loader:" + loader.getParent().getParent());
  }
}
